/****************************************************
    ScriptName:        Bgm

    Author:            86191
    CreatTime:    2020/12/15 19:6:15
    Description:     nothing
*****************************************************/


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;


namespace HXY
{
    public class Bgm : MonoBehaviour
    {
        public Slider BGMSlider;
        public AudioSource BGMSource;

        public void music(){
            BGMSource.volume = BGMSlider.value;
        }
        // Start is called before the first frame update
        void Start()
        {

        }

        // Update is called once per frame
        void Update()
        {

        }
    }
}


